package WebsiteFrontEnd

import (
	/*
		系统包
	*/
	"net/http"
	/*
		API
	*/
	"../../API/DirDataAPI"
)

/*
	运行目录
*/
var CurrentPath string

/*
	初始化
*/
func init() {
	CurrentPath = DirDataAPI.GetCurrentPath()
	CurrentPath += "StaticResource\\Web-InterFace"
}

/*
	首页
*/
func HomePage(w http.ResponseWriter, r *http.Request) {
	DirDataAPI.SendFile(w, CurrentPath, r.URL.String())
}
